package com;

/**
 * Created by webrx on 2017-08-25.
 */
public class Stu<T> {

    //类Stu和类User是为了讲解泛型是怎么应用的

    private T t;

    public Stu(T t){
        this.t= t;
    }

    public void info(){
        System.out.println(t.getClass().getName());
    }
}
